<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" errorPage="/error.jsp" %>
<%@ page import="com.qst.itoffer.bean.Company,com.qst.itoffer.bean.Job" %>
<%String path = request.getContextPath() + "/";%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>职位信息展示</title>
    <base href="<%=path%>">
    <link href="../css/base.css" type="text/css" rel="stylesheet">
    <link href="../css/job.css" type="text/css" rel="stylesheet">
</head>
<body>
<jsp:include page="../top.jsp"/>

<div class="tn-grid" align="center">
    <div class="bottomban">
        <div class="bottombanbox">
            <a href="CompanyServlet?type=select&id=${requestScope.company.companyId }">
                <img src="recruit/images/${requestScope.company.companyPic }"></a></div>

</div>
<div class="tn-grid">
    <div class="tn-box-content">
        <div class="it-main">
            <div class="it-ctn-heading">
                <div class="it-title-line">
                    <h3>${requestScope.job.jobName }</h3>
                </div>
            </div>
            <div class="job">
                <table class="it-table" style="width:700px">
                    <tbody>
                    <tr>
                        <td class="it-table-title"> 招聘人数：</td>
                        <td class="tn-border-rb"> ${requestScope.job.jobHiringnum }人</td>
                        <td class="it-table-title"> 薪资：</td>
                        <td class="tn-border-rb">${requestScope.job.jobSalary }</td>
                    </tr>
                    <tr>
                        <td class="it-table-title"> 工作地区：</td>
                        <td class="tn-border-rb">${requestScope.job.jobArea }</td>
                        <td class="it-table-title"> 结束日期：</td>
                        <td class="tn-border-rb">${requestScope.job.jobEnddate }</td>
                    </tr>
                    </tbody>
                </table>
                <div class="it-post-count">
                    <div class="it-com-apply">
                        <a href="JobApplyServlet?type=apply&jobid=${requestScope.job.jobId }" title="申请职位"
                           class="tn-button2 it-smallbutton-apply-hover"></a></div>
                    <ul class="tn-text-note it-text-part">
                        <li class="jobli"><span class="tn-explain-icon">
            <span class="tn-icon it-icon-people"></span>
            <span class="tn-icon-text">招聘人数
            <span class="it-font-cor">${requestScope.job.jobHiringnum }</span> 人</span></span></li>
                    </ul>
                </div>
                <div class="clear"></div>
                <div class="it-post-text">
                    <p>${requestScope.job.jobDesc }</p>
                </div>
                <div class="btn_bot">
                    <a class="tn-button-secondary"
                       href="CompanyServlet?type=select&id=${requestScope.company.companyId }">
                        <span style="color:#1faebc" class="tn-button-text">查看公司信息</span>
                    </a>
                    <a class="tn-button-secondary" href="JobApplyServlet?type=apply&jobid=${requestScope.job.jobId }">
                        <span class="tn-button-text">申请职位</span> </a></div>
            </div>
        </div>
        <div class="clear"></div>
    </div>
</div>
</div>
<iframe src="foot.html" width="100%" height="150" scrolling="no" frameborder="0"></iframe>
</body>
</html>